package com.mlnx.work.dao.mysql;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.mlnx.work.entity.Role;
import com.mlnx.work.pojo.form.RoleFilterForm;
import com.mlnx.work.pojo.vo.RoleVo;

import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * author name: amanda.shan
 * create time: 2020-12-28 17:09:55
 */ 
public interface RoleMapper extends BaseMapper<Role>{

    Page<RoleVo> listRoleVoPage(Page<RoleVo> page, @Param("filter") RoleFilterForm filter);

    List<Object> listAll();
}

